<?php
class loginController extends Model {
        public function init(){
            $this->disableTemplate();
            $this->disableView();
            //$user=new Users($this->m);
        }
        public function indexAction(){
            if($_SERVER['REQUEST_METHOD'] !='POST') return;
            $this->disableTemplate();
            $this->disableView();
            xload('class.users');
            $status=$this->m->_auth->ajaxLogin("/",$_POST['signin_email'],$_POST['signin_password']);
            echo json_encode($status);
        }
}
        
 ?>